import { defHttp } from '../../excelfile/axios';

export enum Api {
  ab = '/sys/index/statistics?depId=',
  ac = '/sys/sysDepart/indexDepTreeSync?orgCode='
}

// 获取数据
export const statisticsbyid = (params?) => defHttp.get({ url: Api.ab, params});
//首页下拉选择 /sys/sysDepart/indexDepTreeSync
export const indexDepTreeSync = (params?) => defHttp.get({ url: Api.ab, params});
